package com.szpx.service.impl;

import com.szpx.entity.lishihui.OrderXY;
import com.szpx.mapper.OrderXYMapper;
import com.szpx.service.OrderXYService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;


@Service
@Transactional //事务处理策略
public class OrderXYServiceImpl implements OrderXYService {

    @Autowired
    private OrderXYMapper orderXYMapper;


    @Override
    public List<OrderXY> selectAllOrderXY() {
        return orderXYMapper.selectAll();
    }
}
